<?php
	$i = 0;
	foreach ($results as $z1ttcb):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
    
	<tr<?php echo $class;?>>
        <td class="actions">
			<?php echo $this->Html->link(__('Sửa', true), array('controller'=>'canbos','action' => 'edit', $z1ttcb['Z1ttcb']['id'])); ?>
			<?php echo $this->Html->link(__('Xóa', true), array('action' => 'delete', $z1ttcb['Z1ttcb']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $z1ttcb['Z1ttcb']['id'])); ?>
		</td>
		<td><?php echo $i; ?>&nbsp;</td>
		<td><?php echo $z1ttcb['Z1ttcb']['mscb']; ?>&nbsp;</td>
        <td><?php echo $z1ttcb['Z1ttcb']['hoten']; ?>&nbsp;</td>
       	<td><?php echo $z1ttcb['Z1ttcb']['phai']; ?>&nbsp;</td>
		<td>
			<?php echo $z1ttcb['Tongiao']['tentongiao']; ?>
		</td>
        <td><?php echo $z1ttcb['Z1ttcb']['tentinhtp']; ?>&nbsp;</td>
        <td><?php echo $z1ttcb['Z1ttcb']['tenquanhuyen']; ?>&nbsp;</td>
        <td><?php echo $z1ttcb['Z1ttcb']['tenphuongxa']; ?>&nbsp;</td>
		<td><?php echo $z1ttcb['Z1ttcb']['ngaysinh']; ?>&nbsp;</td>
		<td><?php echo $z1ttcb['Z1ttcb']['noisinh']; ?>&nbsp;</td>
		<td><?php echo $z1ttcb['Z1ttcb']['diachi']; ?>&nbsp;</td>
		<td><?php echo $z1ttcb['Z1ttcb']['sodienthoai']; ?>&nbsp;</td>
		<td><?php echo $z1ttcb['Z1ttcb']['email']; ?>&nbsp;</td>

		<td>
			<?php echo $z1ttcb['Dantoc']['tendantoc']; ?>
		</td>
		<td><?php echo $z1ttcb['Z1ttcb']['ngayvaodoan']; ?>&nbsp;
		      <?php echo $z1ttcb['Z1ttcb']['noivaodoan']; ?>&nbsp;</td>
		<td><?php echo $z1ttcb['Z1ttcb']['ngayvaodang']; ?>&nbsp;
		      <?php echo $z1ttcb['Z1ttcb']['noivaodang']; ?>&nbsp;</td>
		<td><?php echo $z1ttcb['Z1ttcb']['ngayttdoan']; ?>&nbsp;</td>
		<td><?php echo $z1ttcb['Z1ttcb']['ngayvao']; ?>&nbsp;</td>
	</tr>
<?php endforeach; ?>